package com.iman.common;

public class Constants {
    public static final String  CHARSET               = "utf-8";
    public static final boolean isDev                 = true;                   //是否是开发环境,不控制webservice的正式、开发与否

    public static final String  TOTALCOUNT            = "totalCount";           //给JsonReader用的配置信息的totalCount
    public static final String  RESULTS               = "data";                 //给JsonReader用的配置信息的root
    public static final String  START                 = "start";                //ext 翻页都要用到的起始记录数
    public static final String  LIMIT                 = "limit";                //一页返回多少行。
    public static final String  SUCCESS_JSON          = "{success:true}";
    public static final String  FAIL_JSON             = "{success:false}";

    public static final String  DS_DEFAULT            = "ds_result";            //默认的mi dataset的key
    public static final String  DS_MESSAGE            = "ds_message";           //默认的mi dataset message的key

    public static final String  CURRENT_LOGINUSER_KEY = "CURRENT_LOGINUSER_KEY"; //登录用户的key:logininfovo

    public static final String  YES                   = "1";                    //比如:是否保管
    public static final String  NO                    = "0";

    public static final String  YES_Y                 = "Y";                    //cp_ghr_profile GHR字段 Y 表示原来GHR导入的，否则就是来源于7个法人外。
    public static final String  NO_N                  = "N";

    public static final String  UPLOAD_FILE           = "uploadFile";          //上传附件的key,前台jsp和后台的java用到的。
    
    public static final String  USER_PASSWORD_PUBLIC_KEY_FORDES = "ZHANGWENZHIWANGXIAOLEIZHANGYUN";
    
    public static final String PAGE_INDEX_KEY	  = "pageIndex";
    public static final String PAGE_SIZE_KEY		  = "pageSize";
    
    // TODO should remove this field when release, only avaliable during development
    public static final Long   dumyUserId = 1014328370989580007L;
    
    public static final int 	LIMIT_NUMBER_OF_CHACTERS = 140;
}
